package mylab.utils.common;

import java.time.ZoneId;
import java.util.TimeZone;

import lombok.experimental.UtilityClass;

@UtilityClass
public class ZoneUtil extends cn.hutool.core.date.ZoneUtil {
    public static final String DEFAULT_ZONEID = "GMT+8";

    public ZoneId defaultZoneid() {
        return ZoneId.of(DEFAULT_ZONEID);
    }

    public TimeZone defaultTimeZone() {
        return toTimeZone(defaultZoneid());
    }
}
